package com.yeyks.common.appcommon.param.account;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

import java.io.Serializable;

/**
 * @author: gui
 * @date: 2019/5/28 0028 17:19
 */
@Data
@ApiModel(description = "添加账户信息，仅用于添加酒店时使用")
public class AccountParam implements Serializable {
    private static final long serialVersionUID = -3314253120783730096L;

    /**
     * 用于账户登陆的账户名
     */
    @ApiModelProperty("用于账户登陆的账户名")
    private String username;

    @ApiModelProperty("设置密码(MD5加密后的密码)")
    @NotBlank(message = "设置密码不能为空")
    private String password;
}
